package com.aixingfu.sports.Model;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by 吕冬冬 on 2019.05.17.
 *
 * @auhtor 吕冬冬
 * email 863964634@qq.com
 * 内容:
 * 修改人：
 * 修改时间：
 * 修改备注：
 */
public class RenewType2Model extends StateModel{

    /**
     * data : {"data":{"validity_renewal":[]},"member_info":{"mobile":"18866668088","note":"今天上午，十三届全国人大二次会议","birth_date":"2019-03-15","artive_day":"365","last_date":"2032-01-09","username":"323232","avatar_url":null}}
     */

    private DataBeanX data;

    public DataBeanX getData() {
        return data;
    }

    public void setData(DataBeanX data) {
        this.data = data;
    }

    public static class DataBeanX {
        /**
         * data : {"validity_renewal":[]}
         * member_info : {"mobile":"18866668088","note":"今天上午，十三届全国人大二次会议","birth_date":"2019-03-15","artive_day":"365","last_date":"2032-01-09","username":"323232","avatar_url":null}
         */

        private DataBean data;
        private MemberInfoBean member_info;

        public DataBean getData() {
            return data;
        }

        public void setData(DataBean data) {
            this.data = data;
        }

        public MemberInfoBean getMember_info() {
            return member_info;
        }

        public void setMember_info(MemberInfoBean member_info) {
            this.member_info = member_info;
        }

        public static class DataBean {

            private List<RenewType2Model.DataBeanX.ValidityRenewalBean> validity_renewal;

            public List<ValidityRenewalBean> getValidity_renewal() {
                if (validity_renewal == null) {
                    return new ArrayList<>();
                }
                return validity_renewal;
            }

            public void setValidity_renewal(List<ValidityRenewalBean> validity_renewal) {
                this.validity_renewal = validity_renewal;
            }
        }

        public static class ValidityRenewalBean {
            /**
             * day : 1
             * price : 3680
             * type : y
             */

            private String day;
            private String price;
            private String type;

            public String getDay() {
                return day == null ? "" : day;
            }

            public void setDay(String day) {
                this.day = day;
            }

            public String getPrice() {
                return price == null ? "" : price;
            }

            public void setPrice(String price) {
                this.price = price;
            }

            public String getType() {
                return type == null ? "" : type;
            }

            public void setType(String type) {
                this.type = type;
            }
        }

        public static class MemberInfoBean {
            /**
             * mobile : 18866668088
             * note : 今天上午，十三届全国人大二次会议
             * birth_date : 2019-03-15
             * artive_day : 365
             * last_date : 2032-01-09
             * username : 323232
             * avatar_url : null
             */

            private String mobile;
            private String note;
            private String birth_date;
            private String artive_day;
            private String last_date;
            private String username;
            private Object avatar_url;

            public String getMobile() {
                return mobile;
            }

            public void setMobile(String mobile) {
                this.mobile = mobile;
            }

            public String getNote() {
                return note;
            }

            public void setNote(String note) {
                this.note = note;
            }

            public String getBirth_date() {
                return birth_date;
            }

            public void setBirth_date(String birth_date) {
                this.birth_date = birth_date;
            }

            public String getArtive_day() {
                return artive_day;
            }

            public void setArtive_day(String artive_day) {
                this.artive_day = artive_day;
            }

            public String getLast_date() {
                return last_date;
            }

            public void setLast_date(String last_date) {
                this.last_date = last_date;
            }

            public String getUsername() {
                return username;
            }

            public void setUsername(String username) {
                this.username = username;
            }

            public Object getAvatar_url() {
                return avatar_url;
            }

            public void setAvatar_url(Object avatar_url) {
                this.avatar_url = avatar_url;
            }
        }
    }
}
